<template>
  <div class="HomeMenu">
    <span @click="$router.push('/usershop')">商品分类</span>
    <span @click="$router.push('/')">官网首页</span>
    <span @click="$router.push('/usershop')">手机数码</span>
    <span @click="$router.push('/usershop')">居家用品</span>
    <span @click="$router.push('/usershop')">书籍资料</span>
  </div>
  <div class="homeMenuLine" />
</template>

<script>
export default {
  setup() {},
};
</script>

<style>
.userMenuModule {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 8vh;
}

.HomeMenu {
  display: flex;
  flex-direction: row;
  width: 80%;
  height: 95%;
}

.HomeMenu span {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  width: 20%;
  height: 100%;
}

.HomeMenu span:hover {
  background-color: #59d15f;
}

.homeMenuLine {
  width: 100%;
  height: 5%;
  background-color: #59d15f;
}
</style>